/* SPDX-License-Identifier: GPL-2.0 */
#pragma once

#ifndef __arch_hweight8
#define __arch_hweight8(w) __sw_hweight8(w)
#endif

#ifndef __arch_hweight16
#define __arch_hweight16(w) __sw_hweight16(w)
#endif

#ifndef __arch_hweight32
#define __arch_hweight32(w) __sw_hweight32(w)
#endif

#ifndef __arch_hweight64
#define __arch_hweight64(w) __sw_hweight64(w)
#endif
